package io.github.bomb.batch.infrastructure.processor;

import org.springframework.batch.item.ItemProcessor;

/**
 * 示例处理器，用于将字符串转换为大写。
 */
public class UpperCaseProcessor implements ItemProcessor<Object, Object> {

	@Override
	public Object process(Object item) {
		if (item instanceof String) {
			return ((String) item).toUpperCase();
		}
		return item;
	}
}
